package com.lavender.extention.extention_interface;

import org.springframework.beans.factory.BeanNameAware;
import org.springframework.stereotype.Component;

/**
 * <p>
 * BeanNameAware
 * 一：作用
 * 用于获取BeanName
 * </p>
 *
 * @author: zhu.chen
 * @date: 2020/12/22
 * @version: v1.0.0
 */
@Component
public class BeanNameAwareTest implements BeanNameAware {

    @Override
    public void setBeanName(String name) {
        System.out.println("BeanNameAware");
    }

}
